<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>02+03的简写属性</title>
		<style type="text/css">
			.content {
				display: flex;
				width: 100%;
				flex-flow: row nowrap;
				/* 1.flex-direction属性值
				2. flex-wrap属性值 */
			}

			.item {
				flex-basis: 20%;/* 设置宽度 */
				border: #000000 1px solid;
			}
		</style>
	</head>
	<body>
		<div class="content">
			<div class="item">
				子元素1
			</div>
			<div class="item">
				子元素2
			</div>
			<div class="item">
				子元素3
			</div>
			<div class="item">
				子元素4
			</div>
			<div class="item">
				子元素5
			</div>
		</div>
	</body>
</html>
